package com.code.wflow.constants;

/**
 * @author ggh
 * @date 2022/11/10
 * 流程实例状态
 */
public enum InstanceStatus {
    REJECT((byte) 1, "已驳回"),
    APPROVAL((byte) 2, "审核通过"),
    REVOKE((byte) 3, "撤销流程");
    private Byte val;

    private String msg;

    InstanceStatus(Byte val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Byte getVal() {
        return val;
    }
}
